<!--
  select2-choice needs to be before ui-select-match
  otherwise CSS rules from https://github.com/fk/select2-bootstrap-css
  do not work: [class^="select2-choice"]
-->
<a class="select2-choice ui-select-match"
   ng-class="{'select2-default': $select.selected === undefined}"
   ng-click="$select.activate()">
  <span ng-hide="$select.selected !== undefined" class="select2-chosen">{{$select.placeholder}}</span>
  <span ng-show="$select.selected !== undefined" class="select2-chosen" ng-transclude></span>
  <span class="select2-arrow"><b></b></span>
</a>
